/* Javascript p�gina principal */

$(document).ready(function(){	
    //jquery.cycle - animacao do painel de destaques
	
    $('#destaques').cycle({
        fx: 'fade', 
        speed: 'slow',
        timeout: 7000,
        pager: '#nav',
        pagerAnchorBuilder: function(idx) {
            return '#nav li:eq(' + (idx) + ') a';
        }
    });
    
    $('#categs').mousemove(function(){
       $('#categorias').show();
       return false;
    });
    
     $('#categs').mouseout(function(){
       $('#categorias').hide();
       return false;
    });

    //jCarouselLite
    $(".anyClass").jCarouselLite({
        btnNext: ".next",
        btnPrev: ".prev",
        auto: 900,
        speed: 1500,
        visible: 1
    });
    
    $("#twitter2").jScrollPane({
        showArrows:true
    });

    $("#twitter").getTwitter({
        userName: "@programapanico",
        numTweets: 10,
        //loaderText: "Abrindo tweets...",
        slideIn: true,
        slideDuration: 750,
        showHeading: true,
        //headingText: "Ultimos Tweets",
        showProfileLink: true,
        showTimestamp: true
    });
});

